package cn.com.chinahitech.bjmarket.user.service;

import cn.com.chinahitech.bjmarket.user.entity.User;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhufu
 * @since 2020-07-07
 */
public interface IUserService extends IService<User> {
    List<User> getUserByName(String name);
   //根据用户编号检索
    User getUeserByUid(String uid);
    //分页查询
    IPage<User> getUserAtPage(int page, int size,String name);

    //更新某人电话
    void updatePhone(String phoneNumber,String uid);
}
